/*
 * @Author: CoderLPF
 * @Date: 2020-03-27 16:29:33
 * @LastEditTime: 2020-04-20 15:20:32
 * @LastEditors: CoderLPF
 * @Description: 
 * @FilePath: \fzx-system-fd\src\api\investoutline\index.js
 */
import api from '../index';
import urls from './urls';

const header = {};

export default {
    getlist(id) {
        // return出去了一个promise
        return api.get(urls.list, id, null, null);
    },
    add(data) {
        return api.post(urls.add, data, null, null);
    },
    // delete(reqMap) {
    //     return api.post(urls.delete, reqMap, null, null)
    // },
    modify(data) {
        return api.post(urls.modify, data, null, null);
    },

    getby(data) {
        return api.get(urls.getby, data, null);
    }
};